﻿@model KpBusiness.Model.Candidate

@{
    ViewBag.Title = "Details";
}

<h1>Candidate Detail Informarmation</h1>

<fieldset>

    <div class="personal-details">
     <h2>Personal Details</h2>
    <div class="left-div">
     <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Fname)  @Html.DisplayFor(model => model.Lname)
    </div>

 

    <div class="display-label">@Html.LabelFor(model =>model.Mobile)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Mobile)
    </div>

    <div class="display-label">@Html.LabelFor(Model =>Model.EmailId )    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EmailId)
    </div>
     

    
    </div>
     
     <div class="right-div">
     
     <div class="display-label">@Html.LabelFor(model =>model.YearsOfExp )  </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.YearsOfExp)
    </div>

    <div class="display-label">@Html.LabelFor(model =>Model.Skills)    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Skills)
    </div>



    <div class="display-label">@Html.LabelFor(model =>model.Dob)   </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Dob)
    </div>
     

     </div>
<div class="view-resume">
      @if (Model.IsResumeUploaded)
     {
         var path = Path.Combine(("../../Resumes/"), Model.FileId.ToString() + "." + Model.FileExt.ToString());

<a href="@path" target="_blank" >View Resume</a> <br /><br />

     }
     
     @if (Model.IsResumeUploaded)
     {
         var path = Path.Combine(("../../HrResumes/"), Model.HrFileId.ToString() + "." + Model.HrFileExt.ToString());

<a href="@path" target="_blank" >Hr Resume</a> <br /><br />

     }
     
     @if (Model.IsResumeUploaded)
     {
         var path = Path.Combine(("../../Offer/"), Model.OfferId.ToString() + "." + Model.OfferFileExt.ToString());

<a href="@path" target="_blank" >Offer Letter</a>

     }
      
    </div>
    
    <div class="clear"></div>

    
    <div class="Current-job-details">
     <h2>Current Job Details</h2>
     <div class="left-div">
      <div class="display-label">@Html.LabelFor(model => model.CurrentCtc)   </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CurrentCtc)
    </div>
     <div class="display-label">@Html.LabelFor(model => model.CurrentLocation)    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CurrentLocation)
    </div>
     </div>
     <div class="right-div">
       <div class="display-label">@Html.LabelFor(model => model.Designation)   </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Designation)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.CurrentCompanyName)   </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CurrentCompanyName)
    </div>

     </div>
     </div>
   
   <div class="clear"></div>
   
   
    <div class="expected-job-details">
     <h2>Expected Job Details</h2>
     <div class="display-label">@Html.LabelFor(model => model.ExpectedCtc)   </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ExpectedCtc)
    </div>

   

    <div class="display-label">@Html.LabelFor(model => model.ExpectedLocation)  </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ExpectedLocation)
    </div>
    
    
    </div>
   
  

    
    
  




  
  
</fieldset>
<p>
    @Html.ActionLink("Back to List", "Index")
</p>
